package net.towee.diff;

import java.util.LinkedList;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Class representing one patch operation.
 */
public class Patch implements IsSerializable {
	public LinkedList<Diff> diffs;
	public int start1;
	public int start2;
	public int length1;
	public int length2;

	/**
	 * Constructor. Initializes with an empty list of diffs.
	 */
	public Patch() {
		this.diffs = new LinkedList<Diff>();
	}
}